package com.ruoyi.StarStudio.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CouponsResult {

    private Coupons coupons;
    private PanicBuyingCoupons panicBuyingCoupons; //抢购优惠券
    private int remainBeginSeconds; //距抢购开始时间剩余的秒数
    private int remainEndSeconds; //距抢购结束时间剩余的秒数

    public CouponsResult(Coupons coupons, PanicBuyingCoupons panicBuyingCoupons) {
        this.coupons = coupons;
        this.panicBuyingCoupons = panicBuyingCoupons;
    }
}
